package com.zh.media.domain.dto;

import com.zh.web.enums.State;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel("作品信息修改参数")
public class UpdateWorkInfoDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "作品Id", required = true)
    @NotNull
    private Long worksId;
    @ApiModelProperty(value = "用户Id", required = true)
    @NotNull
    private Long userId;
    @ApiModelProperty("点赞状态 1 0")
    private State praise;
    @ApiModelProperty("收藏状态 1 0")
    private State collect;
    @ApiModelProperty("浏览量增量 不填为1")
    private Integer viewCount;
    @ApiModelProperty("分享量增量 不填为1")
    private Integer shareCount;
}
